{! extends "base.html" !}
{! block nav !}
			<a href="{{site.adminUrl}}media">Media list</a>
{! endblock !}
{! block content !}
<form action="{{site.adminUrl}}media/upload" method="post" id="mediaForm" enctype="multipart/form-data">
   <div class="wrap">
      <h2>{%if media %}Edit media info{%else%}Upload media{%endif%}</h2>
      <div id="poststuff">

<div id="submitlink" class="submitbox">

<div id="previewview">
</div>

<div class="inside">
<p>&nbsp;</p>
</div>

<p class="submit">
	<input type="submit" tabindex="6" value="Upload" name="" class="button button-highlighted"/>&nbsp;
</p>

</div>

<div id="post-body">
<div class="stuffbox">
<h3>File</h3>
<div class="inside">
	<input type="file" id="file" tabindex="2" size="60" name="file"/>&nbsp;(Maximum file size 1 MB)
</div>
</div>

<div class="stuffbox">
<h3>Friendly Name</h3>
<div class="inside">
	<input type="text" id="title" tabindex="1" size="60" name="name"/>&nbsp;(Optional)
</div>
</div>

</div>
</div>

   </div>
</form>
{! endblock !}